<?php

class Config{

	//------------------ pe ------------------
	//redis logs
	const Redis_HostPort_Logs	= "r-wz94614545860734.redis.rds.aliyuncs.com:6379";
	const Redis_Password_Logs	= "Xx20180701";
	const Redis_Database_Logs	= 0;
	const Redis_HostPort		= "r-wz94614545860734.redis.rds.aliyuncs.com:6379";
	const Redis_Password		= "Xx20180701";
	const Redis_Database		= 25;

	//db
	const DB_Host			= "rm-wz97m7f230mzxryh5.mysql.rds.aliyuncs.com";
	const DB_Port			= "3306";
	const DB_User			= "proadmin";
	const DB_Password		= "Xiuxian2018";
	const DB_Name			= "xiuxian";
	const DB_Charset		= "utf8mb4";

	const Processor_Port = "12252";
	const Processor_Address =  "127.0.0.1";
	const Timer_Port =  "30259";
	const Timer_Address =  "127.0.0.1";

	const GameClient_Port =  "30252";
	const GameServer_Port =  "30251";
	const GameWeb_Port    =  "30250";

	const Ticket_Mode       = 2;    //房卡支付形式，1AA，2房主
	const Room_IsReuse      = 0;    //房间是否重复使用，0否1是

	const Log_Dir   =        "/data/wwwlogs/workman/xz/";

	const Verification_Code = "987654321098765432109876543210zz";

	/* 观战人数 */
	const Guest_MaxCount  = 9;
	/* 游戏局数 */
	const GameNumber_Each_Six    =  10; //6人房局数
	const GameNumber_Each_Nine   =  12; //9人房局数


	const Ticket_Multi = 1;

}
